package com.itheima.entity;

/**
 * @author ghy
 * @version 1.0
 * @date 2022-10-21 14:53
 */
public interface CodeConstant {

    Integer SAVE_OK = 20011;
    Integer DELETE_OK = 20021;
    Integer UPDATE_OK = 20031;
    Integer GET_OK = 20041;

    Integer SAVE_ERROR = 20010;
    Integer DELETE_ERROR = 20020;
    Integer UPDATE_ERROR = 20030;
    Integer GET_ERROR = 20040;

    Integer EXCEPTION_ERROR=666;

    Integer SYSTEM_ERR = 50001;
    Integer SYSTEM_TIMEOUT_ERR = 50002;
    Integer SYSTEM_UNKNOWN_ERR = 59999;
    Integer BUSINESS_ERR = 60002;

}
